<!--
 * @Author: 石龙飞 shilongfei@cheyipai.com
 * @Date: 2025-08-29 18:16:15
 * @LastEditors: 石龙飞 shilongfei@cheyipai.com
 * @LastEditTime: 2025-09-09 15:18:14
 * @FilePath: /auction/Users/shilongfei/Desktop/deep-pupil-system/src/views/model/modelManage/ModelList/MonitorConfig.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <a-tabs>
      <a-tab-pane tab="变量稳定性和调用分布" key="1">
        <VariableStability :modelDetail="modelData" @close="close" @refresh="refresh" />
      </a-tab-pane>
      <a-tab-pane tab="模型性能" key="2">
        <ModelPerformance :modelDetail="modelData" @refresh="refresh" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import VariableStability from './VariableStability'
import ModelPerformance from './ModelPerformance'

export default {
  name: 'MonitorConfig',
  props: {
    modelData: {
      type: Object,
      default: () => {},
    },
  },
  components: {
    VariableStability,
    ModelPerformance,
  },
  methods: {
    close() {
      this.$emit('close')
    },
    refresh() {
      this.$emit('updateList')
    }
  }
}
</script>

<style lang="less" scoped></style>
